//
//  YZYSDKManagerHeader.h
//  YZYSDK
//
//  Created by 赵隆杰 on 2024/6/7.
//

#ifndef YZYSDKManagerHeader_h
#define YZYSDKManagerHeader_h

#define YZYSDKVERSION @"1.0.0"

//线上
#define YZY_BaseUrl @"https://sdk-v1.7pa.com"//接口地址 线上
#define YZY_H5_BaseUrl @"https://h.7pa.com"//h5地址 线上
#define YZY_WebSocketUrl @"ws://websocket.xxchangyou.com:9999/webSocket"  //长链接 线上
#define YZY_FloatBallChatUrl @"https://qpyx-super-bubble.xxchangyou.com"  //小气泡聊天框地址 线上
//本地 192.168.28.56:8087峰哥 192.168.28.30:8087周恒
#define YZY_BaseUrl_local @"http://192.168.28.56:8087"//接口地址 本地
//#define YZY_H5_BaseUrl_local @"http://192.168.28.55:8080" //h5地址 本地
//#define YZY_WebSocketUrl_local @"ws://192.168.28.240:9999/webSocket"  //长链接 本地

#define YZY_AppendUrl(urlStr) [NSString stringWithFormat:@"%@%@",YZY_BaseUrl,urlStr]
#define YZY_AppendUrl_local(urlStr) [NSString stringWithFormat:@"%@%@",YZY_BaseUrl_local,urlStr]

#define QPJH_BaseUrl @"https://game-server.7pa.com"
#define QPJH_AppendUrl_Api_v1(urlStr) [NSString stringWithFormat:@"%@/api/v1%@",QPJH_BaseUrl,urlStr]

#define typeof(expression) __typeof__(expression)

#define YZYPlatformID @"40048"
#define YZYKey @"m666#qplybymike#m666"

#define YZY_IS_APPLE 1 //1shangchengbao 0yueyubao

#define YZY_QPGameID @"1910" //奇葩游戏Id，只有shangchengbao生效，yueyubao取YZYPLIST
#define YZY_PlatformGameID @"2969" //自有平台游戏Id，只有shangchengbao生效，yueyubao取YZYPLIST
#define YZY_IS_Landscape @"2" //是否横屏(横屏1 竖屏2)，只有shangchengbao生效，yueyubao取YZYPLIST

#define YZY_User_Agreement (YZY_IS_APPLE?@"https://www.xianlingwangluo.com/privacy/mcagreement.html":[NSString stringWithFormat:@"%@/clause/userPrivacy.html", YZY_H5_BaseUrl])
#define YZY_Privacy_Agreement (YZY_IS_APPLE?@"https://www.xianlingwangluo.com/privacy/mcprivacy.html":[NSString stringWithFormat:@"%@/clause/servicePrivacy.html", YZY_H5_BaseUrl])

#define popupW 300
#define popupH 260
#define popupH_login (YZY_IS_APPLE?310:320)
#define popupH_long 360
#define popupH_short 160

#define yzy_themeColor [UIColor colorWithRed:17/255.0 green:204/255.0 blue:177/255.0 alpha:1.0]
#define yzy_labelColor [UIColor colorWithRed:33/255.0 green:32/255.0 blue:32/255.0 alpha:1.0]
#define yzy_grayLabelColor [UIColor colorWithRed:194/255.0 green:194/255.0 blue:194/255.0 alpha:1.0]

#define YZYFONTLTHGB @"FZCuYuan-M03S"//@"FZLanTingHeiS-H-GB"
#define YZYFONTLTKHGBK @"Helvetica"//@"FZLanTingKanHei-R-GBK"

//接口地址
#define YZY_Alert_Notice @"50001" //接口返回弹窗提示维护code
//平台初始化
#define YZY_jl_allinit @"/platform/jl/allinit"
//上传苹果版本号
#define YZY_getIosVersion @"/platform/userInfo/skip/getIosVersion"
//根据token获取用户信息
#define YZY_getUserByToken @"/platform/userInfo/getUserByToken"
//一键登录
#define YZY_loginDirectly @"/platform/userInfo/loginDirectly"
//获取验证码
#define YZY_getCode @"/platform/getCode"
//验证码登录
#define YZY_loginByPhone @"/platform/userInfo/loginByPhone"
//密码登录
#define YZY_skip_login @"/platform/userInfo/skip/login"
//用户注册
#define YZY_skip_register @"/platform/userInfo/skip/register"
//忘记密码
#define YZY_skip_resetPassword @"/platform/userInfo/skip/resetPassword"
//实名认证
#define YZY_userRealIdCode @"/platform/userInfo/userRealIdCode"
//退出登录
#define YZY_loginOut @"/platform/userInfo/loginOut"
//删除账号
#define YZY_deleteUser @"/platform/userInfo/deleteUser"
//游戏活动公告
#define YZY_getNoticeList @"/platform/noticeInfo/getNoticeList"
//用户行为上报
#define YZY_userBehaviorReport @"/platform/userInfo/userBehaviorReport"
//上报角色
#define YZY_addRoleInfo @"/platform/roleInfo/addRoleInfo"
//创建订单
#define YZY_createOrder @"/platform/orderInfo/createOrder"
//苹果支付验证
#define YZY_pay_verify @"/platform/ios/pay/verify"
//苹果支付通知
#define YZY_pay_notify @"/platform/ios/pay/notify"
//苹果支付ID映射
#define YZY_pay_billingPointMapping @"/platform/ios/pay/getBillInfo"
//添加子用户
#define YZY_addUserSonInfo @"/platform/userSonInfo/addUserSonInfo"
//获取子用户列表
#define YZY_getUserSonInfoList @"/platform/userSonInfo/getUserSonInfoList"
//修改用户的小号默认值
#define YZY_updateDefault @"/platform/userSonInfo/updateDefault"
//用户的小号绑定游戏id
#define YZY_updateGameId @"/platform/userSonInfo/updateGameId"
//修改用户的小号名称
#define YZY_updateSonNickName @"/platform/userSonInfo/updateSonNickName"
//跳转小程序需要的参数 https://game-server.7pa.com/api/v1/wechat/api/getInfo
#define YZY_wechat_api_getInfo @"/wechat/api/getInfo"

#endif /* YZYSDKManagerHeader_h */
